@foreach($sidebars as $sidebar)
        <option value="{{$sidebar['id']}}" @if(isset($sidebar['selected']) && $sidebar['selected']) selected @endif>{{str_repeat('&nbsp;', ($count)*6)}} {{$sidebar['name']}}</option>
        @if(isset($sidebar['child']))
            @component('admin.component.sidebar-option', ['sidebars' => $sidebar['child'], 'count'=> ($count+1)])
            @endcomponent
        @endif
@endforeach
